home *** CD-ROM | disk | FTP | other *** search
/ PC Open 93 / PC Open 93 CD 2.bin / PDF / webdeveloper / lezione_1 / oggi2.asp < prev    next >
Encoding:
Text File  |  2003-08-24  |  543 b   |  21 lines

  1. <%@ language="vbscript" %>
  2. <%option explicit%>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head><title>La mia prima pagina Asp</title></head>
  6. <body>
  7.  
  8. <script language="vbscript" runat="server">
  9. Dim anno,mese,giorno,data,ore,minuti
  10.  
  11. anno = year(now())
  12. mese = month(now())
  13. giorno = day(now())
  14. ore = hour(now())
  15. minuti = minute(now())
  16.  
  17. response.write ("Oggi Φ il " & giorno & "/" & mese & "/" & anno & ", ore " & ore & ":" & minuti)
  18. </script>
  19. </body>
  20. </html>
  21.